package net.lab1024.sa.user.module.business.course.domain.form;

import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 课程订单 新建表单
 *
 * @Author jabari
 * @Date 2023-08-05 17:49:48
 * @Copyright 51dev.cn
 */

@Data
public class CourseOrderAddForm {

    @ApiModelProperty(value = "学员ID", required = true)
    @NotNull(message = "学员ID 不能为空")
    private Integer studentId;

    @ApiModelProperty(value = "课程ID", required = true)
    @NotNull(message = "课程ID 不能为空")
    private Integer courseId;

    @ApiModelProperty(value = "开始时间", required = true)
    @NotNull(message = "开始时间 不能为空")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间", required = true)
    @NotNull(message = "结束时间 不能为空")
    private LocalDateTime endTime;

}